Cut the bulk of the foam away from the blocks between the firewall and aft landing gear bulkhead.
Sanded the foam bottom to 1/8″ at the aft landing gear bulkhead to flush with the bottom of the firewall.
Sanded a continuous recess 1/8″ deep and 3/4″ wide for the landing gear cover.