Put immovable appointments and deadlines on the schedule first. Include time for travel, meals and routine responsibilities. Only then choose the work that fits the remaining blocks.
If the available space is too small, reduce the scope of the planned task rather than pretending the fixed points will move. An achievable plan is more useful than a visually impressive one.