Partially complete solution to Block Count, Length, and Area problem