Help me to optimize the blocks